package cn.neo.hhsharding.engine;

public class ShardingContext {

    private static final ThreadLocal<ShardingResult> threadlocal = new ThreadLocal<>();

    public static ShardingResult get() {
        return threadlocal.get();
    }

    public static void set(ShardingResult shardingResult) {
        threadlocal.set(shardingResult);
    }

}
